package com.ctshk.rpc.workflow.dto;

import com.ctshk.common.model.PageReq;
import com.ctshk.common.req.DepartmentData;
import com.ctshk.common.req.MainData;
import com.ctshk.rpc.workflow.req.ApprovalSettingStepReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 审批配置模板详情
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-28
 */
@Data
@ApiModel(description="审批配置详情对象")
public class ApprovalSettingInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "业务类型")
    private String businessTypeName;

    @ApiModelProperty(value = "审批类型")
    private Integer approvalType;

    @ApiModelProperty(value = "审批类型")
    private String approvalTypeName;

    @ApiModelProperty(value = "流程名称")
    private String name;

    @ApiModelProperty(value = "系统编号")
    private String sysCode;

    @ApiModelProperty(value = "自定义人员范围数组")
    private List<DepartmentData> employees;

    @ApiModelProperty(value = "自定义部门范围数组")
    private List<DepartmentData> depts;

    @ApiModelProperty(value = "流程步骤")
    private List<ApprovalSettingStepDTO> steps;
}
